home *** CD-ROM | disk | FTP | other *** search
/ develop, the CD; issue 1 / Apple_Develop_1989.bin / Offscreen / FracApp 2.0B3 / FracApp / FracApp.rsrc / bin.rsrc_CODE_17_GPrint.txt < prev    next >
Text File  |  1989-10-13  |  56KB  |  995 lines

  1. # near model CODE resource
  2. # jump table entries: 3600-3616 (17 of them)
  3. export_450:
  4. fn00000000:
  5. 00000000  4E56 FFF8                link       A6, -0x0008
  6. 00000004  206E 000C                movea.l    A0, [A6 + 0xC]
  7. 00000008  43EE FFF8                lea.l      A1, [A6 - 0x8]
  8. 0000000C  22D8                     move.l     [A1]+, [A0]+
  9. 0000000E  22D8                     move.l     [A1]+, [A0]+
  10. 00000010  486E FFF8                pea.l      [A6 - 0x8]
  11. 00000014  206E 0008                movea.l    A0, [A6 + 0x8]
  12. 00000018  2050                     movea.l    A0, [A0]
  13. 0000001A  2F28 0034                move.l     -[A7], [A0 + 0x34]
  14. 0000001E  4EAD 1692                jsr        [A5 + 0x1692 /* export_718 */]
  15. 00000022  4E5E                     unlink     A6
  16. 00000024  205F                     movea.l    A0, [A7]+
  17. 00000026  504F                     addq.w     A7, 8
  18. 00000028  4ED0                     jmp        [A0]
  19. 0000002A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  20. export_451: // at 0000002C (misaligned)
  21. 0000002E  0000 206E                ori.b      D0, 0x6E /* 'n' */
  22. 00000032  000C 10BC                ori.b      A4, 0xBC
  23. 00000036  0001 2D6D                ori.b      D1, 0x6D /* 'm' */
  24. 0000003A  F870 0012                .extension 0x870 <<F/1/4>>, 0x0012 // unimplemented
  25. 0000003E  4E5E                     unlink     A6
  26. 00000040  205F                     movea.l    A0, [A7]+
  27. 00000042  DEFC 000A                add.w      A7, 0xA /* '\n' */
  28. 00000046  4ED0                     jmp        [A0]
  29. 00000048  4E56 FFCE                link       A6, -0x0032
  30. 0000004C  48E7 0700                movem.l    -[A7], D5,D6,D7
  31. 00000050  486E FFF8                pea.l      [A6 - 0x8]
  32. 00000054  A874                     syscall    GetPort
  33. 00000056  2F3C 003E 0000           move.l     -[A7], 0x3E0000 /* '>\0\0' */
  34. 0000005C  486E FFE4                pea.l      [A6 - 0x1C]
  35. 00000060  A970                     syscall    GetNextEvent
  36. 00000062  101F                     move.b     D0, [A7]+
  37. 00000064  6700 012C                beq        +0x12E /* 00000192 */
  38. 00000068  42A7                     clr.l      -[A7]
  39. 0000006A  A924                     syscall    FrontWindow
  40. 0000006C  202D FDC4                move.l     D0, [A5 - 0x23C]
  41. 00000070  B09F                     cmp.l      D0, [A7]+
  42. 00000072  670C                     beq        +0xE /* 00000080 */
  43. 00000074  2F2D FDC4                move.l     -[A7], [A5 - 0x23C]
  44. 00000078  2F2D F9F4                move.l     -[A7], [A5 - 0x60C]
  45. 0000007C  4EAD 1042                jsr        [A5 + 0x1042 /* export_516 */]
  46. label00000080:
  47. 00000080  7003                     moveq.l    D0, 0x03
  48. 00000082  B06E FFE4                cmp.w      D0, [A6 - 0x1C]
  49. 00000086  6600 00AC                bne        +0xAE /* 00000134 */
  50. 0000008A  203C 0000 00FF           move.l     D0, 0xFF
  51. 00000090  C0AE FFE6                and.l      D0, [A6 - 0x1A]
  52. 00000094  3E00                     move.w     D7, D0
  53. 00000096  203C 0000 FF00           move.l     D0, 0xFF00
  54. 0000009C  C0AE FFE6                and.l      D0, [A6 - 0x1A]
  55. 000000A0  E088                     lsr        D0, 8
  56. 000000A2  3C00                     move.w     D6, D0
  57. 000000A4  702E                     moveq.l    D0, 0x2E
  58. 000000A6  B047                     cmp.w      D0, D7
  59. 000000A8  57C0                     seq        D0
  60. 000000AA  4A00                     tst.b      D0
  61. 000000AC  6714                     beq        +0x16 /* 000000C2 */
  62. 000000AE  7200                     moveq.l    D1, 0x00
  63. 000000B0  322E FFF2                move.w     D1, [A6 - 0xE]
  64. 000000B4  C2BC 0000 0100           and.l      D1, 0x100
  65. 000000BA  4A81                     tst.l      D1
  66. 000000BC  56C1                     sne        D1
  67. 000000BE  C001                     and.b      D0, D1
  68. 000000C0  6616                     bne        +0x18 /* 000000D8 */
  69. label000000C2:
  70. 000000C2  721B                     moveq.l    D1, 0x1B
  71. 000000C4  B247                     cmp.w      D1, D7
  72. 000000C6  57C1                     seq        D1
  73. 000000C8  4A01                     tst.b      D1
  74. 000000CA  6766                     beq        +0x68 /* 00000132 */
  75. 000000CC  7435                     moveq.l    D2, 0x35
  76. 000000CE  B446                     cmp.w      D2, D6
  77. 000000D0  57C2                     seq        D2
  78. 000000D2  C202                     and.b      D1, D2
  79. 000000D4  8001                     or.b       D0, D1
  80. 000000D6  675A                     beq        +0x5C /* 00000132 */
  81. label000000D8:
  82. 000000D8  102D F990                move.b     D0, [A5 - 0x670]
  83. 000000DC  6708                     beq        +0xA /* 000000E6 */
  84. 000000DE  3D7C 0002 FFE2           move.w     [A6 - 0x1E], 0x2
  85. 000000E4  6006                     bra        +0x8 /* 000000EC */
  86. label000000E6:
  87. 000000E6  3D7C 0001 FFE2           move.w     [A6 - 0x1E], 0x1
  88. label000000EC:
  89. 000000EC  2F2D FDC4                move.l     -[A7], [A5 - 0x23C]
  90. 000000F0  3F2E FFE2                move.w     -[A7], [A6 - 0x1E]
  91. 000000F4  486E FFDC                pea.l      [A6 - 0x24]
  92. 000000F8  486E FFDE                pea.l      [A6 - 0x22]
  93. 000000FC  486E FFD4                pea.l      [A6 - 0x2C]
  94. 00000100  A98D                     syscall    GetDialogItem/GetDItem
  95. 00000102  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  96. 00000106  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  97. 0000010A  A95D                     syscall    HiliteControl
  98. 0000010C  7008                     moveq.l    D0, 0x08
  99. 0000010E  2F00                     move.l     -[A7], D0
  100. 00000110  486E FFD0                pea.l      [A6 - 0x30]
  101. 00000114  4EAD 03C2                jsr        [A5 + 0x3C2 /* export_116 */]
  102. 00000118  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  103. 0000011C  4267                     clr.w      -[A7]
  104. 0000011E  A95D                     syscall    HiliteControl
  105. 00000120  3F3C 0080                move.w     -[A7], 0x80
  106. 00000124  2F3C C000 0200           move.l     -[A7], 0xC0000200
  107. 0000012A  A8FD                     syscall    PrGlue
  108. 0000012C  1B7C 0001 FDC0           move.b     [A5 - 0x240], 0x1
  109. label00000132:
  110. 00000132  605E                     bra        +0x60 /* 00000192 */
  111. label00000134:
  112. 00000134  4267                     clr.w      -[A7]
  113. 00000136  486E FFE4                pea.l      [A6 - 0x1C]
  114. 0000013A  A97F                     syscall    IsDialogEvent
  115. 0000013C  101F                     move.b     D0, [A7]+
  116. 0000013E  6752                     beq        +0x54 /* 00000192 */
  117. 00000140  4267                     clr.w      -[A7]
  118. 00000142  486E FFE4                pea.l      [A6 - 0x1C]
  119. 00000146  486E FFF4                pea.l      [A6 - 0xC]
  120. 0000014A  486E FFE2                pea.l      [A6 - 0x1E]
  121. 0000014E  A980                     syscall    DialogSelect
  122. 00000150  1A1F                     move.b     D5, [A7]+
  123. 00000152  1005                     move.b     D0, D5
  124. 00000154  673C                     beq        +0x3E /* 00000192 */
  125. 00000156  222E FFF4                move.l     D1, [A6 - 0xC]
  126. 0000015A  B2AD FDC4                cmp.l      D1, [A5 - 0x23C]
  127. 0000015E  57C1                     seq        D1
  128. 00000160  C001                     and.b      D0, D1
  129. 00000162  672E                     beq        +0x30 /* 00000192 */
  130. 00000164  302E FFE2                move.w     D0, [A6 - 0x1E]
  131. 00000168  5340                     subq.w     D0, 1
  132. 0000016A  6706                     beq        +0x8 /* 00000172 */
  133. 0000016C  5340                     subq.w     D0, 1
  134. 0000016E  6710                     beq        +0x12 /* 00000180 */
  135. 00000170  6020                     bra        +0x22 /* 00000192 */
  136. label00000172:
  137. 00000172  3F3C 0080                move.w     -[A7], 0x80
  138. 00000176  2F3C C000 0200           move.l     -[A7], 0xC0000200
  139. 0000017C  A8FD                     syscall    PrGlue
  140. 0000017E  6012                     bra        +0x14 /* 00000192 */
  141. label00000180:
  142. 00000180  3F3C 0080                move.w     -[A7], 0x80
  143. 00000184  2F3C C000 0200           move.l     -[A7], 0xC0000200
  144. 0000018A  A8FD                     syscall    PrGlue
  145. 0000018C  1B7C 0001 FDC0           move.b     [A5 - 0x240], 0x1
  146. label00000192:
  147. 00000192  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  148. 00000196  A873                     syscall    SetPort
  149. 0000